<div id="ljs"></div>
<script type="text/javascript">
	/* analytics base settings */
	var analyticsAccount = "{$analytics_account}";

	/* deferred js loader */
	function ljs(fjs){
		var headID = document.getElementById("ljs");         
		var newScript = document.createElement('script');
		newScript.type = 'text/javascript';
		newScript.src = fjs;
		headID.appendChild(newScript);
	}

	/* system base settings */
	var languageCode = "{$languageCode}";
	var ipversion = "{$ipversion}";
	var google_uqid = "{$uqid}";
	var ga_notificationcode = "{$notification_code}";
	var ga_auth_provider = "{$user_authprovider}";
	var ga_is_new_user = "{$is_new_user}";
	var ga_is_logged_out = "{$is_logged_out}";
	var ga_comment_posted = "{$comment_posted}";
	var ga_article_title = "";
	{if $pageType=="article" && $is_404==false}
		ga_article_title = "{$article.title}";
	{/if}

	/* load the actual javascript */
	ljs("http://{$cdn_host_js}/minpack{$minpack_js_tag}.js");
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

{if $pageType == "article"}
<script src="https://apis.google.com/js/platform.js" async defer>
  {literal}{lang: 'de'}{/literal}
</script>
{/if}

{if $pageType == "contact" || $pageType == "newsletter"}
<script src='https://www.google.com/recaptcha/api.js?hl={$languageCode}' async defer></script>
{/if}